package com.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 *
 * @EnableFeignClients 可以开启feign权限
 * @author zhengzihong
 * @version 1.0.0
 * @date 2019/1/12
 * @Description
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
public class FeignConfig {


    public static void main(String[] args) {
        SpringApplication.run(FeignConfig.class,args);
    }

}
